package com.paradogs.framework.core.msg;

import io.netty.buffer.ByteBuf;

import java.io.IOException;


/**
 * @author: yumi
 * @date: 2023/2/15  21:07
 * @Description: TODO
 */
public interface IMsgSerializable {

    void serialization(ByteBuf out) throws IOException;

    void deserialization(ByteBuf in) throws IOException;

    void deserialization(byte[] bytes) throws IOException;

}
